AngouriMath

Navigation

← Back to list of members

FactorOutCommon​(AngouriMath.​Functions.​Algebra.​MonoidAlgebra.​IBasisOps{​(AngouriMath.​Functions.​Algebra.​MonoidAlgebra.​IBasisOps{`0})

 Method (no overloads)

Summary

The greatest basis element dividing every term, and what is left once it is divided
out -- so that the original is the one multiplied by the other.

Remarks

This is the shared half of factoring. x^2*y + x^2 comes back as
(2,0) with y + 1; |001> + |011> as the cube 0-1 with |0> + |1>. What each feature does with that differs, and does not
belong here.
Empty terms have no common factor to speak of, so the identity is returned and
nothing is claimed.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online